#ifndef CLOSEBUTTON_H
#define CLOSEBUTTON_H

#include <QPushButton>
#include <QObject>

class CloseButton : public QPushButton
{
    Q_OBJECT
public:
    CloseButton(QWidget *parent = nullptr);
    ~CloseButton();

private:
    void enterEvent(QEnterEvent *);
    void leaveEvent(QEvent *);
};

#endif // CLOSEBUTTON_H
